import { prop } from "@typegoose/typegoose";
import { ThumbType } from "../types/thumb.type";
import { Base } from "./base";

/** 点赞 / 大拇指 */
export class Thumb extends Base {

  @prop({ default: ThumbType.Default })
  type?: ThumbType;

  @prop({})
  target: string;

  @prop({})
  user: string;
}